/**
 * 
 */
package org.dragonfire.parser.functions;

import org.dragonfire.parser.Equation;

/**
 * @author Darth Android
 * @date Aug 6, 2006
 * @version 1.0 Returns a boolean value based on whether the first parameter
 *          passed to it is a string or not.
 */
public class Isstring extends Function {

	public String eval(Equation equ, String[] params) {
		return Equation.isString(params[0]) ? "1" : "0";
	}

	public int minParams() {
		return 1;
	}
}
